<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        h1 {
            text-align: left;
        }
        h2 {
            text-align: center;
        }
        h3 {
            text-align: right;
        }
        /* p {
            text-indent: 20px;
        } */
         p {
            text-indent: 2em;
            text-decoration: underline;
         }
         a {
            text-decoration: none;
         }

    </style>
</head>
<body>
    <h1>靠左</h1>
    <h2>居中</h2>
    <h3>靠右</h3>
    <p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. In quod recusandae obcaecati mollitia maiores assumenda earum corporis, commodi, praesentium nisi quia, enim excepturi iste. Suscipit eligendi sint alias cumque odit!</p>
    <a href="#">不跳转</a>
</body>
</html>